<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <!-- <script src="./package/core.js"></script> -->
  <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
</head>

<body>
  <div id="app">
    <button @click="eba('@Wy123456')">123</button>
    {{da}}
  </div>

</body>
<script>
  var app = new Vue({
    el: '#app',
    data: {
      da: ''
    },
    methods: {
      // var __Oxe2a25 = ["\x63\x72\x65\x61\x74\x65", "\x70\x72\x6F\x74\x6F\x74\x79\x70\x65", "\x6C\x69\x62",
      //   "\x42\x61\x73\x65", "\x6D\x69\x78\x49\x6E", "\x69\x6E\x69\x74",
      //   "\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79", "\x61\x70\x70\x6C\x79",
      //   "\x24\x73\x75\x70\x65\x72",
      //   "\x65\x78\x74\x65\x6E\x64", "\x74\x6F\x53\x74\x72\x69\x6E\x67", "\x57\x6F\x72\x64\x41\x72\x72\x61\x79",
      //   "\x77\x6F\x72\x64\x73", "\x73\x69\x67\x42\x79\x74\x65\x73", "\x6C\x65\x6E\x67\x74\x68",
      //   "\x73\x74\x72\x69\x6E\x67\x69\x66\x79", "\x63\x6C\x61\x6D\x70", "\x63\x65\x69\x6C", "\x63\x61\x6C\x6C",
      //   "\x63\x6C\x6F\x6E\x65", "\x73\x6C\x69\x63\x65", "\x72\x61\x6E\x64\x6F\x6D", "\x70\x75\x73\x68",
      //   "\x65\x6E\x63",
      //   "\x48\x65\x78", "", "\x6A\x6F\x69\x6E", "\x73\x75\x62\x73\x74\x72", "\x4C\x61\x74\x69\x6E\x31",
      //   "\x66\x72\x6F\x6D\x43\x68\x61\x72\x43\x6F\x64\x65", "\x63\x68\x61\x72\x43\x6F\x64\x65\x41\x74",
      //   "\x55\x74\x66\x38", "\x4D\x61\x6C\x66\x6F\x72\x6D\x65\x64\x20\x55\x54\x46\x2D\x38\x20\x64\x61\x74\x61",
      //   "\x70\x61\x72\x73\x65",
      //   "\x42\x75\x66\x66\x65\x72\x65\x64\x42\x6C\x6F\x63\x6B\x41\x6C\x67\x6F\x72\x69\x74\x68\x6D",
      //   "\x5F\x64\x61\x74\x61", "\x5F\x6E\x44\x61\x74\x61\x42\x79\x74\x65\x73", "\x73\x74\x72\x69\x6E\x67",
      //   "\x63\x6F\x6E\x63\x61\x74", "\x62\x6C\x6F\x63\x6B\x53\x69\x7A\x65",
      //   "\x5F\x6D\x69\x6E\x42\x75\x66\x66\x65\x72\x53\x69\x7A\x65", "\x6D\x61\x78", "\x6D\x69\x6E",
      //   "\x73\x70\x6C\x69\x63\x65", "\x48\x61\x73\x68\x65\x72", "\x63\x66\x67", "\x72\x65\x73\x65\x74",
      //   "\x66\x69\x6E\x61\x6C\x69\x7A\x65", "\x48\x4D\x41\x43", "\x61\x6C\x67\x6F", "\x6F\x62\x6A\x65\x63\x74",
      //   "\x65\x78\x70\x6F\x72\x74\x73", "\x66\x75\x6E\x63\x74\x69\x6F\x6E", "\x61\x6D\x64",
      //   "\x43\x72\x79\x70\x74\x6F\x4A\x53", "\x4D\x44\x35", "\x45\x76\x70\x4B\x44\x46",
      //   "\x68\x61\x73\x68\x65\x72",
      //   "\x6B\x65\x79\x53\x69\x7A\x65", "\x69\x74\x65\x72\x61\x74\x69\x6F\x6E\x73", "\x75\x70\x64\x61\x74\x65",
      //   "\x63\x6F\x6D\x70\x75\x74\x65", "\x2E\x2F\x63\x6F\x72\x65\x2E\x6D\x69\x6E",
      //   "\x2E\x2F\x73\x68\x61\x31\x2E\x6D\x69\x6E", "\x2E\x2F\x68\x6D\x61\x63\x2E\x6D\x69\x6E",
      //   "\x42\x61\x73\x65\x36\x34", "\x5F\x6D\x61\x70", "\x63\x68\x61\x72\x41\x74",
      //   "\x5F\x72\x65\x76\x65\x72\x73\x65\x4D\x61\x70", "\x69\x6E\x64\x65\x78\x4F\x66",
      //   "\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4A\x4B\x4C\x4D\x4E\x4F\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5A\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7A\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2B\x2F\x3D",
      //   "\x43\x69\x70\x68\x65\x72", "\x5F\x78\x66\x6F\x72\x6D\x4D\x6F\x64\x65", "\x5F\x6B\x65\x79",
      //   "\x65\x6E\x63\x72\x79\x70\x74", "\x64\x65\x63\x72\x79\x70\x74",
      //   "\x53\x74\x72\x65\x61\x6D\x43\x69\x70\x68\x65\x72", "\x6D\x6F\x64\x65",
      //   "\x42\x6C\x6F\x63\x6B\x43\x69\x70\x68\x65\x72\x4D\x6F\x64\x65", "\x45\x6E\x63\x72\x79\x70\x74\x6F\x72",
      //   "\x44\x65\x63\x72\x79\x70\x74\x6F\x72", "\x5F\x63\x69\x70\x68\x65\x72", "\x5F\x69\x76", "\x43\x42\x43",
      //   "\x5F\x70\x72\x65\x76\x42\x6C\x6F\x63\x6B", "\x65\x6E\x63\x72\x79\x70\x74\x42\x6C\x6F\x63\x6B",
      //   "\x64\x65\x63\x72\x79\x70\x74\x42\x6C\x6F\x63\x6B", "\x70\x61\x64", "\x50\x6B\x63\x73\x37",
      //   "\x42\x6C\x6F\x63\x6B\x43\x69\x70\x68\x65\x72", "\x69\x76",
      //   "\x5F\x45\x4E\x43\x5F\x58\x46\x4F\x52\x4D\x5F\x4D\x4F\x44\x45",
      //   "\x63\x72\x65\x61\x74\x65\x45\x6E\x63\x72\x79\x70\x74\x6F\x72",
      //   "\x63\x72\x65\x61\x74\x65\x44\x65\x63\x72\x79\x70\x74\x6F\x72", "\x5F\x6D\x6F\x64\x65",
      //   "\x5F\x5F\x63\x72\x65\x61\x74\x6F\x72", "\x70\x72\x6F\x63\x65\x73\x73\x42\x6C\x6F\x63\x6B",
      //   "\x70\x61\x64\x64\x69\x6E\x67", "\x75\x6E\x70\x61\x64",
      //   "\x43\x69\x70\x68\x65\x72\x50\x61\x72\x61\x6D\x73",
      //   "\x66\x6F\x72\x6D\x61\x74\x74\x65\x72", "\x66\x6F\x72\x6D\x61\x74", "\x4F\x70\x65\x6E\x53\x53\x4C",
      //   "\x63\x69\x70\x68\x65\x72\x74\x65\x78\x74", "\x73\x61\x6C\x74",
      //   "\x53\x65\x72\x69\x61\x6C\x69\x7A\x61\x62\x6C\x65\x43\x69\x70\x68\x65\x72", "\x6B\x64\x66",
      //   "\x50\x61\x73\x73\x77\x6F\x72\x64\x42\x61\x73\x65\x64\x43\x69\x70\x68\x65\x72",
      //   "\x69\x76\x53\x69\x7A\x65",
      //   "\x65\x78\x65\x63\x75\x74\x65", "\x6B\x65\x79", "\x2E\x2F\x65\x76\x70\x6B\x64\x66\x2E\x6D\x69\x6E",
      //   "\x5F\x68\x61\x73\x68\x65\x72", "\x5F\x6F\x4B\x65\x79", "\x5F\x69\x4B\x65\x79", "\x45\x43\x42",
      //   "\x2E\x2F\x63\x69\x70\x68\x65\x72\x2D\x63\x6F\x72\x65\x2E\x6D\x69\x6E", "\x41\x45\x53",
      //   "\x5F\x6E\x52\x6F\x75\x6E\x64\x73", "\x5F\x6B\x65\x79\x50\x72\x69\x6F\x72\x52\x65\x73\x65\x74",
      //   "\x5F\x6B\x65\x79\x53\x63\x68\x65\x64\x75\x6C\x65",
      //   "\x5F\x69\x6E\x76\x4B\x65\x79\x53\x63\x68\x65\x64\x75\x6C\x65",
      //   "\x2E\x2F\x65\x6E\x63\x2D\x62\x61\x73\x65\x36\x34\x2E\x6D\x69\x6E",
      //   "\x2E\x2F\x6D\x64\x35\x2E\x6D\x69\x6E",
      //   "\x62\x57\x46\x73\x62\x48\x42\x33\x5A\x41\x3D\x3D\x57\x4E\x53\x54",
      //   "\x75\x6E\x64\x65\x66\x69\x6E\x65\x64",
      //   "\x6C\x6F\x67", "\u5220\u9664", "\u7248\u672C\u53F7\uFF0C\x6A\x73\u4F1A\u5B9A",
      //   "\u671F\u5F39\u7A97\uFF0C",
      //   "\u8FD8\u8BF7\u652F\u6301\u6211\u4EEC\u7684\u5DE5\u4F5C", "\x6A\x73\x6A\x69\x61",
      //   "\x6D\x69\x2E\x63\x6F\x6D"
      // ];
      eba(password) {
        var a = CryptoJS["enc"]["Utf8"]["parse"]("bWFsbHB3ZA==WNST");
        var b = CryptoJS["enc"]["Utf8"]["parse"](password);
        var c = CryptoJS["AES"]["encrypt"](b, a, {
          mode: CryptoJS["mode"]["ECB"],
          padding: CryptoJS["pad"]["Pkcs7"]
        })
        this.da = c.toString()

        // __Oxe2a25.forEach(function (element, index) {
        //   console.log("当前索引: " + index + " - " + index.toString(16) + " - " + element + "   \\u" +
        //     element.charCodeAt(index).toString(16));
        // });
        //   var decodedArray = __Oxe2a25.map(function (item) {
        //     return item.replace(/\\x[\dA-F]{2}/g, function (match) {
        //       return String.fromCharCode(parseInt(match.slice(2), 16));
        //     });
        //   });
        //   console.log(decodedArray);
        //   decodedArray.forEach(function (element, index) {
        //     console.log("当前索引: " + index + " - " + index.toString(16) + " - " + element);
        //   });
      }
    }
  })
</script>

</html>